#ifndef CUSTOMSPLASHSCREEN_H
#define CUSTOMSPLASHSCREEN_H

#include <QFrame>

////////////////////////////////////////////////////////////////////////////
class CSplashScreen : public QFrame
{
public:
 CSplashScreen(const QPixmap& pixmap);

 void clearMessage();
 void showMessage(const QString& theMessage, int theAlignment = Qt::AlignLeft, const QColor& theColor = Qt::black);

private:
 virtual void paintEvent(QPaintEvent* pe);

 QPixmap  itsPixmap;
 QString  itsMessage;
 int   itsAlignment;
 QColor  itsColor;
 int     iTextY;
 int     iTextX;
};

#endif // CUSTOMSPLASHSCREEN_H
